diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-11 10:35:18 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-11 10:35:18 +0100 |
| commit | cae6aafd1bff694c2563531cdfc0e1f513e153c9 (patch) | |
| tree | 4d48ef651e9b5daa0ad785fa5278be410ffa512a /src/Makefile | |
| parent | 683d6ee7a31c5294810b12f81fde360dbd2d3455 (diff) | |
Add build system
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..c75db54 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,11 @@ +$(PROG): main.o + $(CC) -o $@ $^ $(__LIBS) $(LDFLAGS) $(LIBS) + +main.o: main.c +.c.o: + $(CC) $(__CFLAGS) $(CFLAGS) -c $< + +clean: + rm -f *.o $(PROG) + +.PHONY: clean |
