21625f40b5
I tried to get the latest versions from dockapps.org, but I haven't tested any of them. More dockapps will be added as time permits.
36 lines
765 B
Makefile
36 lines
765 B
Makefile
#
|
|
# Temperature.app Makefile
|
|
#
|
|
|
|
DESTDIR =
|
|
GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/Temperature.app
|
|
X11_BINDIR = /usr/X11R6/bin
|
|
|
|
CXX=c++
|
|
CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
|
|
LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11
|
|
|
|
OBJECTS = Main.o Temperature.o Xpm.o
|
|
|
|
all: Temperature.app
|
|
|
|
Temperature.app: $(OBJECTS)
|
|
$(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
|
|
|
.PHONY: install install-gnustep install-x11 clean
|
|
|
|
install: install-gnustep
|
|
|
|
install-gnustep: all
|
|
install -d $(DESTDIR)$(GNUSTEP_BINDIR)
|
|
install -m 0755 Temperature.app $(DESTDIR)$(GNUSTEP_BINDIR)/Temperature
|
|
|
|
install-x11: all
|
|
install -d $(DESTDIR)$(X11_BINDIR)
|
|
install -m 0755 Temperature.app $(DESTDIR)$(X11_BINDIR)/Temperature.app
|
|
|
|
clean:
|
|
rm -f *~ *.o
|
|
|
|
# End of file
|