PFLAGS += -Fu.. include ../settings.MK UNITS = ring_buffers.ppu scanners.ppu type_fixes.ppu OBJECTS = ring_buffers.o scanners.o type_fixes.o TARGET = libParser.$(SO) all: $(TARGET) ifdef WIN32 $(TARGET): $(UNITS) $(OBJECTS) else $(TARGET): $(UNITS) $(OBJECTS) ppumove -s -o Parser -e ppl $(UNITS) chmod +x $(TARGET) endif ring_buffers.o ring_buffers.ppu: ring_buffers.PP scanners.o scanners.ppu: scanners.PP ring_buffers.PP # TODO move this away? type_fixes.o type_fixes.ppu: type_fixes.PP clean: /bin/rm -f -- $(UNITS) $(OBJECTS) distclean: clean /bin/rm -f -- $(TARGET)