2 # Makefile for Reboot's Linker for Jaguar
9 # Figure out which system we're compiling for, and set the appropriate
12 SYSTYPE := __GCCUNIX__
17 OSTYPE := $(shell uname -o)
18 ifeq "$(findstring Msys,$(OSTYPE))" "Msys"
23 CFLAGS = -g -I. -D$(SYSTYPE) -O2 -Wno-format
29 $(CROSS)$(CC) $(CFLAGS) -c $*.c
34 $(CROSS)$(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS)
37 $(RM) $(OBJS) $(PROGNAME) $(PROGNAME).exe *~