1
0

100-Makefile.patch 1021 B

1234567891011121314151617181920212223242526272829303132333435
  1. --- cmdpad-0.0.3/src/Makefile.orig 2008-01-05 23:29:44.000000000 +0100
  2. +++ cmdpad-0.0.3/src/Makefile 2008-01-05 23:30:23.000000000 +0100
  3. @@ -5,25 +5,25 @@
  4. TOP=..
  5. include $(TOP)/Makefile.common
  6. -INCLUDE= -I/usr/include
  7. -LIBS= -L/usr/lib -lc
  8. -CFLAGS= -g3
  9. -LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb
  10. +#INCLUDE= -I/usr/include
  11. +#LIBS= -L/usr/lib -lc
  12. +#CFLAGS= -g3
  13. +#LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb
  14. OBJ= main.o command.o parse.o
  15. SCRIPTS= *.sh
  16. build: $(PROG)
  17. $(PROG): $(OBJ)
  18. - gcc -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS)
  19. + $(GCC) -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS)
  20. @echo "==============================================="
  21. @echo "edit $(PROG).conf file to set default preferences"
  22. %.o : %.c
  23. - gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
  24. + $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
  25. %.o : %.c %.h
  26. - gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
  27. + $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
  28. distclean clean:
  29. rm $(PROG) *~ *.o -vf