Skip to content

Commit 1ff59e1

Browse files
committed
Fix Makefile & directory structure
1 parent b2bb708 commit 1ff59e1

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/

Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
parsexp: *.c
2-
gcc -o parsexp *.c -Wall -Wextra -pedantic -g
1+
CC = gcc
2+
CC_FLAGS = -Wall -Wextra -pedantic -g
3+
4+
parsexp: *.c tokens/*.c
5+
$(CC) $(CC_FLAGS) -o $@ $^

tokens.c tokens/tokens.c

File renamed without changes.

tokens.h tokens/tokens.h

File renamed without changes.

0 commit comments

Comments
 (0)