diff options
author | B Stack <bgstack15@gmail.com> | 2022-07-03 23:06:09 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2022-07-03 23:06:09 -0400 |
commit | b72841e3ff7220c7db44ae523c173321d5750497 (patch) | |
tree | 7535d0bf912e4a4e87399a719f56e5fe1755f1b7 /extra/Makefile | |
download | pyjstest-b72841e3ff7220c7db44ae523c173321d5750497.tar.gz pyjstest-b72841e3ff7220c7db44ae523c173321d5750497.tar.bz2 pyjstest-b72841e3ff7220c7db44ae523c173321d5750497.zip |
initial commit
Diffstat (limited to 'extra/Makefile')
-rw-r--r-- | extra/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/Makefile b/extra/Makefile new file mode 100644 index 0000000..ff10a08 --- /dev/null +++ b/extra/Makefile @@ -0,0 +1,13 @@ +CC=gcc +SRC = $(wildcard *.c) +OBJS = $(patsubst %.c, %.o, $(SRC)) +NAME = js1 + +all: $(NAME) +.PHONY: clean + +$(NAME): $(OBJS) + $(CC) $(shell pkg-config --cflags sdl2 ) $< $(shell pkg-config --libs sdl2 ) -o $@ + +clean: + rm -f $(OBJS) $(NAME) |