diff options
| author | the lemons <citrons@mondecitronne.com> | 2023-02-05 19:06:16 -0600 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2023-02-05 19:06:16 -0600 |
| commit | 3af50b956b8887b64c3c29b30a0008be866b24c4 (patch) | |
| tree | af2a6f736505585192f852342ae988a297024133 /Makefile | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..50a35f4 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +SDL_HEADERS=/usr/include/SDL2 + +CFLAGS=-g -Wall -I$(SDL_HEADERS) +LFLAGS=-lSDL2 + +core: core.o procfs.o memview.o + $(CC) -o $@ $^ $(LFLAGS) + +core.c: procfs.h memview.h +memview.c: procfs.h memview.h +procfs.c: procfs.h + +.SUFFIXES: .c .o +.c.o: + $(CC) $(CFLAGS) -c -o $@ $< + +clean: + rm -f *.o core |
