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.
 
 
 
 
 
 

35 lines
1021 B

--- cmdpad-0.0.3/src/Makefile.orig 2008-01-05 23:29:44.000000000 +0100
+++ cmdpad-0.0.3/src/Makefile 2008-01-05 23:30:23.000000000 +0100
@@ -5,25 +5,25 @@
TOP=..
include $(TOP)/Makefile.common
-INCLUDE= -I/usr/include
-LIBS= -L/usr/lib -lc
-CFLAGS= -g3
-LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb
+#INCLUDE= -I/usr/include
+#LIBS= -L/usr/lib -lc
+#CFLAGS= -g3
+#LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb
OBJ= main.o command.o parse.o
SCRIPTS= *.sh
build: $(PROG)
$(PROG): $(OBJ)
- gcc -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS)
+ $(GCC) -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS)
@echo "==============================================="
@echo "edit $(PROG).conf file to set default preferences"
%.o : %.c
- gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
+ $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
%.o : %.c %.h
- gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
+ $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
distclean clean:
rm $(PROG) *~ *.o -vf