home *** CD-ROM | disk | FTP | other *** search
/ TOS Silver 2000 / TOS Silver 2000.iso / programm / GNU_C++ / LIB / CFLIB-11.LZH / demo / Makefile < prev    next >
Encoding:
Makefile  |  1998-07-12  |  346 b   |  26 lines

  1. #
  2. # Makefile für das Demo-Program der CF-Lib für GNU C
  3. #
  4. CC = gcc
  5. CFLAGS = -Wall -O2
  6. LDFLAGS = 
  7. LIBS = -lcflib -lgemx -lgem
  8. DEFS = 
  9.  
  10. PROG = demo.app
  11.  
  12. SRCS = demo.c pdlg.c
  13. OBJS = $(subst .c,.o,$(SRCS))
  14.  
  15. all: $(PROG)
  16.  
  17. $(PROG): $(OBJS)
  18.     $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
  19.  
  20. .c.o: $(SRCS) demo.h
  21.     $(CC) $(CFLAGS) $(DEFS) -c $<
  22.  
  23. clean:
  24.     rm -f *.o
  25.  
  26.