CC = gcc LD = ld STRIP = strip CFLAGS = -DUSE_INLINE_STDARG -O1 -Os -ffast-math -fomit-frame-pointer -noixemul -ISDK:tinygl-sdk/include LDFLAGS = -nostartfiles LIBS = INTRO_OBJS = intro.o .PHONY: all clean all: intro intro: $(INTRO_OBJS) $(LD) $(LDFLAGS) -o $@.db $(INTRO_OBJS) $(LIBS) $(STRIP) -s -R .comment -R .gnu.version --remove-section .sdata --remove-section .sdata2 --remove-section .data --remove-section .got $@.db -o $@ chmod u+x $@ clean: rm -f *.o intro intro.db