X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rln;a=blobdiff_plain;f=makefile;h=b70cc77a8388f68cbcfd0729a71eda4bfd4c38e4;hp=8fd3cc16b7af650227c573b87473d6310bcef81e;hb=HEAD;hpb=64a3b267ea5a8ce3c4d60735bb0388f3325d9f02 diff --git a/makefile b/makefile index 8fd3cc1..0c14fe6 100644 --- a/makefile +++ b/makefile @@ -1,10 +1,10 @@ # -# Makefile for Reboot's Linker for Jaguar +# Makefile for Renamed Linker for Jaguar # -RM =/bin/rm -f -CC = gcc -PROGNAME = rln -LIBS = +RM =/bin/rm -f +CC = gcc +PROGNAME = rln +LIBS = # # Figure out which system we're compiling for, and set the appropriate # variables @@ -20,19 +20,19 @@ SYSTYPE := WIN32 endif endif -CFLAGS = -g -I. -D$(SYSTYPE) -O2 -SRCS = rln.c +CFLAGS = -g -I. -D$(SYSTYPE) -O2 -Wno-format +SRCS = rln.c OBJS = rln.o -.c.o: - $(RM) $@ - $(CROSS)$(CC) $(CFLAGS) -c $*.c +.c.o: + $(RM) $@ + $(CROSS)$(CC) $(CFLAGS) -c $*.c -all: $(PROGNAME) +all: $(PROGNAME) -$(PROGNAME) : $(OBJS) - $(CROSS)$(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS) +$(PROGNAME) : $(OBJS) + $(CROSS)$(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS) -clean: - $(RM) $(OBJS) $(PROGNAME) $(PROGNAME).exe *~ +clean: + $(RM) $(OBJS) $(PROGNAME) $(PROGNAME).exe *~