# makefile # environment stuff SHELL = /bin/sh DATE = `date +%x` TIME = `date +%X` VERSION = 1.0 DEFINES = -DC_DATE=\"$(DATE)\" -DC_TIME=\"$(TIME)\" -DVERSION=\"$(VERSION)\" # diabled flags # -DHANDLE_SIGNAL # compiler stuff CC = g++ C = gcc #CFLAGS = -O2 -Wall $(DEFINES) CFLAGS = -g -Wall $(DEFINES) INCLUDE_PATH = -I/usr/X11R6/include -I../include -I../base -I./ -I/usr/include LIB_PATH = -L/usr/lib -L./lib -L../../lib -L/usr/lib/opengl/xorg-x11/lib LIBS = $(LIB_PATH) -lm -lpthread -lXm -lXt -lX11 -lrt -lslp -lGL -lGLU -lxml2 RADARLIB = SLIBS = OBJS = test.o INC = all: test test: $(OBJS) $(INC) $(CC) -o test $(OBJS) $(CFLAGS) $(LIBS) $(SLIBS) .cpp.o: $(CC) -c $(CFLAGS) $(INCLUDE_PATH) $< -o $@ .c.o: $(C) -c $(CFLAGS) $(INCLUDE_PATH) $< -o $@