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.
 
 
 

30 lines
523 B

  1. PROGRAM = tasksel
  2. VERSION=\"0.1\"
  3. CC = gcc
  4. CFLAGS = -g -Wall
  5. DEFS = -DVERSION=$(VERSION) -DPACKAGE=\"$(PROGRAM)\" -DLOCALEDIR=\"/usr/share/locale\" #-DDEBUG
  6. LIBS = -lslang
  7. OBJS = tasksel.o slangui.o data.o util.o strutl.o
  8. COMPILE = $(CC) $(CFLAGS) $(DEFS) -c
  9. LINK = $(CC) $(CFLAGS) $(DEFS) -o
  10. all: $(PROGRAM)
  11. %.o: %.c
  12. $(COMPILE) $<
  13. po/build_stamp:
  14. $(MAKE) -C po
  15. $(PROGRAM): $(OBJS) po/build_stamp
  16. $(LINK) $(PROGRAM) $(OBJS) $(LIBS)
  17. test:
  18. $(MAKE) -C scratch
  19. clean:
  20. rm -f $(PROGRAM) *.o *~
  21. $(MAKE) -C po clean