Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunoo16 committed Dec 3, 2019
1 parent e113848 commit 4e4b53f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
CC := gcc
OBJ := src/main.c src/interpreter.c src/utils.c

override CFLAGS += -g -O3 -lm

language:= one-char

all: $(language)

$(language): $(OBJ)
$(CC) $(OBJ) -o $(language) $(CFLAGS)

clean:
rm -f $(OBJ)

0 comments on commit 4e4b53f

Please sign in to comment.