2 ## $VER: PIPWin_Makefile 2.6 (19.10.98)
4 ## Copyright (C) 1996,97 by Bernardo Innocenti
9 # Name of the final executable
13 # Object files in this project
15 OBJS = startup_gcc.o PIPWin.o PIPClass.o
25 # Remove all targets and intermediate files
28 -Delete $(PROJ) $(OBJS)
31 ###########################################################
32 # gcc release version should be compiled with these flags
34 # NOTE: compiling with -fbaserel is currently not
35 # possible because of the well known gcc/egcs
36 # "register spilled" problem.
38 CFLAGS = -c -O3 -finline-functions -fno-implement-inlines \
39 -fomit-frame-pointer -fstrength-reduce \
40 -msmall-code -mregparm -I/gg/include -I/include \
41 -Wunused -Wreturn-type -D$(OSVER)
43 LIBS = -noixemul -nostdlib
46 ###########################################################
47 # gcc - Make the executable
48 ###########################################################
50 startup_gcc.o: startup_gcc.s
51 $(AS) startup_gcc.s -o startup_gcc.o
53 .c.o: VectorGlyphIClass.h
54 $(CC) $(*).c $(CFLAGS)
57 $(CC) $(OBJS) -o $(PROJ) $(LFLAGS) $(LIBS)