PFLAGS += -Fu.. -S2 PFLAGS += -Fu../../Parser PFLAGS += -Fu../SYSV PFLAGS += -Fi../generic PFLAGS += -gl include ../settings.MK TARGET = libgraphics_X11.$(SO) UNITS = graphics_2D_implementations.ppu X11_Images.ppu X11_Colormaps.ppu X11_DeviceContexts.ppu X11_Displays.ppu X11_Drawables.ppu X11_Fonts.ppu X11_Objects.ppu X11_Pixmaps.ppu X11_Screens.ppu X11_Shared_Memory.ppu X11_Visuals.ppu X11_Windows.ppu X11_XImages.ppu X11_SHM_Extension.ppu OBJECTS = graphics_2D_implementations.o X11_Images.o X11_Colormaps.o X11_DeviceContexts.o X11_Displays.o X11_Drawables.o X11_Fonts.o X11_Objects.o X11_Pixmaps.o X11_Screens.o X11_Shared_Memory.o X11_Visuals.o X11_Windows.o X11_XImages.o X11_SHM_Extension.o all: $(TARGET) $(TARGET): $(UNITS) $(OBJECTS) ppumove -o libgraphics_X11 -e ppl $(UNITS) chmod +x $(TARGET) graphics_2D_implementations.ppu graphics_2D_implementations.o: graphics_2D_implementations.PP #graphics_2D_implementations.PP:uses graphics_2D, framebuffers, images, colors, type_fixes; # TODO more dependencies? X11_Colormaps.ppu X11_Colormaps.o: X11_Colormaps.PP X11_Objects.ppu X11_DeviceContexts.ppu X11_DeviceContexts.o: X11_DeviceContexts.PP X11_Objects.ppu X11_Fonts.ppu X11_Displays.ppu X11_Displays.o: X11_Displays.PP X11_Objects.ppu X11_Shared_Memory.ppu X11.ppu X11_Screens.ppu X11_SHM_Extension.ppu X11_Drawables.ppu X11_Drawables.o: X11_Drawables.PP X11_Objects.ppu X11.ppu X11_Fonts.ppu X11_Fonts.o: X11_Fonts.PP X11_Objects.ppu X11_Displays.ppu X11.ppu X11_Images.ppu X11_Images.o: X11_Images.PP X11.ppu X11.o: X11.PP # SYSV.ppu type_fixes.ppu X11_Objects.ppu X11_Objects.o: X11_Objects.PP X11_Pixmaps.ppu X11_Pixmaps.o: X11_Pixmaps.PP X11_Drawables.ppu X11_Shared_Memory.ppu X11.ppu ../framebuffers.ppu X11_Screens.ppu X11_Screens.o: X11_Screens.PP X11_Objects.ppu X11.ppu X11_Windows.ppu X11_Visuals.ppu X11_Shared_Memory.ppu X11_Shared_Memory.o: X11_Shared_Memory.PP X11.ppu # SYSV_Shared_Memory. X11_Visuals.ppu X11_Visuals.o: X11_Visuals.PP X11_Objects.ppu X11.ppu X11_Windows.ppu X11_Windows.o: X11_Windows.PP X11_Drawables.ppu X11.ppu X11_Drawables.ppu X11_Objects.ppu X11_XImages.ppu X11_XImages.o: X11_XImages.PP X11_Objects.ppu X11_Displays.ppu ../framebuffers.ppu X11_SHM_Extension.ppu X11_SHM_Extension.o: X11_SHM_Extension.PP X11.ppu X11_Objects.ppu test_X11: test_X11.PP X11.ppu X11_Displays.ppu X11_Windows.ppu X11_Shared_Memory.ppu X11_Pixmaps.ppu $(PPC) $(PFLAGS) $< clean: /bin/rm -f -- $(UNITS) $(OBJECTS) distclean: clean /bin/rm -f -- test_X11 $(TARGET)