From 34342b53c39aa3f22326b6e4eda960cc20cfa0f0 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 30 Oct 2023 22:44:02 +0100 Subject: Meta: Create simple build scripts for kernel, userland and general enviroment --- userland/libppm/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 userland/libppm/Makefile (limited to 'userland/libppm/Makefile') diff --git a/userland/libppm/Makefile b/userland/libppm/Makefile new file mode 100644 index 0000000..405e1dd --- /dev/null +++ b/userland/libppm/Makefile @@ -0,0 +1,15 @@ +CC="i686-sb-gcc" +CFLAGS = -ggdb -O3 -Wall -Wextra -pedantic +LIB=-L../libgui -lgui +INC=-I../libgui/ +BINS=ppm +all: $(BINS) + +ppm.o: ppm.c + $(CC) $(CFLAGS) $(INC) $(LIB) -o $@ -c $< + +ppm: ppm.o + $(CC) $(CFLAGS) -o $@ $^ $(LIB) + +clean: + rm $(BINS) *.o -- cgit v1.2.3