summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 0 insertions, 30 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 1f49002..0000000
--- a/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-SHELL := /bin/sh
-CC := c99
-CFLAGS := -g -Werror -Wall -pedantic
-SRCDIR := ./src
-SRCS := $(shell find . -name '*.c')
-OBJS := $(SRCS:.c=.o)
-DEPS := $(OBJS:.o=.d)
-TARGET := sm
-
-.POSIX:
-.PHONY: all clean
-
-all: $(TARGET)
-
-%.d: %.c
- @$(CC) -MM $(CPPFLAGS) $< > $@
-
-%.o: %.c %.d
- @$(CC) $(CFLAGS) -c -o $@ $<
- @printf 'CC\t%s\n' '$@'
-
--include $(DEPS)
-
-$(TARGET): $(OBJS)
- @$(CC) $(CFLAGS) $(OBJS) -o $@
- @printf 'CCLD\t%s\n' '$@'
-
-clean:
- $(RM) $(TARGET)
- $(RM) $(OBJS) $(DEPS)