aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-02-07 09:26:36 -0500
committerClyne Sullivan <tullivan99@gmail.com>2018-02-07 09:26:36 -0500
commit2b8cf5e771cac4c2b087dc96a7ca05a459f630b5 (patch)
treed1e25ef8520e9df936c231af0d5b760177d6cbde /Makefile
parente3cbc8086c25d4fc1d9413815643b3ecaaee2062 (diff)
conditionals, returns, cleaner code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7fcb26c..f81b589 100644
--- a/Makefile
+++ b/Makefile
@@ -3,5 +3,10 @@ CC = gcc -m32
CFLAGS = -Wall -Wextra -Wno-strict-aliasing -I. -ggdb -fno-builtin
all:
+ $(CC) $(CFLAGS) -c shelpers.c
$(CC) $(CFLAGS) -c parser.c
- $(CC) $(CFLAGS) shell.c parser.o -o shell
+ $(CC) $(CFLAGS) -c builtins.c
+ $(CC) $(CFLAGS) -c stack.c
+ $(CC) $(CFLAGS) -c ops.c
+ $(CC) $(CFLAGS) -c variable.c
+ $(CC) $(CFLAGS) shell.c *.o -o shell