You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
469 B

  1. CC = gcc
  2. CFLAGS = -g -Wall -I..
  3. DEFS = -DVERSION=$(VERSION) -DPACKAGE=\"$(PROGRAM)\" -DLOCALEDIR=\"/usr/share/locale\" -DDEBUG
  4. LIBS = -lslang
  5. COMPILE = $(CC) $(CFLAGS) $(DEFS) -c
  6. LINK = $(CC) $(CFLAGS) $(DEFS) -o
  7. all: testdata flowtest
  8. ../%.o: ../%.c
  9. $(COMPILE) $< -o $@
  10. %.o: %.c
  11. $(COMPILE) $<
  12. testdata: ../data.o ../util.o testdata.o
  13. $(LINK) testdata $^
  14. flowtest: ../strutl.o ../util.o flowtest.o
  15. $(LINK) flowtest $^
  16. clean:
  17. rm -f *.o *~ testdata flowtest