include ../settings.MK PFLAGS += -Fu.. -Fu../Parser UNITS = bitstreams.ppu custom_decoders.ppu LZW.ppu GIFLZW.ppu windowed_streams.ppu DCT.ppu Windows_1252.ppu huffman_trees.ppu OBJECTS = bitstreams.o custom_decoders.o LZW.o GIFLZW.o windowed_streams.o DCT.o Windows_1252.o huffman_trees.o #concatenated_streams.ppu #test_bitstreams.PP TARGET = libCodec.$(SO) all: $(TARGET) ifdef WIN32 $(TARGET): $(UNITS) $(OBJECTS) else $(TARGET): $(UNITS) $(OBJECTS) ppumove -o Codec -e ppl $(UNITS) chmod +x $(TARGET) endif Windows_1252.ppu Windows_1252.o: Windows_1252.PP bitstreams.ppu bitstreams.o: bitstreams.PP concatenated_streams.ppu concatenated_streams.o: concatenated_streams.PP custom_decoders.ppu custom_decoders.o: custom_decoders.PP #ring_buffers.ppl LZW.ppu LZW.o: LZW.PP custom_decoders.ppu bitstreams.ppu DCT.ppu DCT.o: DCT.PP GIFLZW.ppu GIFLZW.o: GIFLZW.PP LZW.ppu bitstreams.ppu custom_decoders.ppu huffman_trees.ppu huffman_trees.o: huffman_trees.PP test_bitstreams: test_bitstreams.PP bitstreams.ppu $(PPC) $(PFLAGS) $< windowed_streams.ppu windowed_streams.o: windowed_streams.PP test_LZW: test_LZW.PP LZW.ppu $(PPC) $(PFLAGS) $< clean: /bin/rm -f -- $(UNITS) $(OBJECTS) distclean: clean /bin/rm -f -- test_bitstreams test_LZW $(TARGET)