aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b26898c..bbecb30 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,8 @@ OUTPUT = bitmap
BUILDDIR = build
FILE = 022.bmp
-
-OBJ = main.o bitmap.o
+SRCS = $(wildcard *.c)
+OBJ = $(SRCS:.c=.o)
build: $(OBJ)
mkdir -p $(BUILDDIR)