diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-02-13 22:21:05 -0500 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-02-13 22:21:05 -0500 |
| commit | 644a7e3014485676bc2b95c921a14716186ef4cf (patch) | |
| tree | 89954eb4e018a3ba0dd0871971c2f6ff2086146b /Makefile | |
init
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..78828dc --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +.POSIX: +.SUFFIXES: + +CFLAGS = -O2 -Wall -Wextra -pedantic +LDFLAGS = -static +LDLIBS = -lm + +all: pineapple + +pineapple: pineapple.c + $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LDLIBS) + +clean: + rm -f pineapple + +.PHONY: all clean |
