CC = gcc CFLAGS = -O -Wall -I../portinc .c.o: $(CC) -c $(CFLAGS) $< all: \ makelib \ pestack \ reloc \ rsxntopt makelib: makelib.o dllexp.o $(CC) -o makelib makelib.o dllexp.o ../portlib/emxport.a ../portlib/unix.a pestack: pestack.o $(CC) -o pestack pestack.o reloc: reloc.o $(CC) -o reloc reloc.o ../portlib/unix.a rsxntopt: rsxntopt.o $(CC) -o rsxntopt rsxntopt.o