Skip to content

Commit

Permalink
Simplify using implicit rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerb9 committed Mar 14, 2024
1 parent 64bd6be commit a056d16
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions adjunct/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ tokenize: m100-tokenize m100-jumps m100-decomment m100-crunch
m100-tokenize: m100-tokenize.c
gcc $< -o $@

# Lexer that omits comments
m100-decomment: m100-decomment.c

# Lexer that finds jump targets (GOTO 10)
m100-jumps: m100-jumps.c

# Lexer that omits whitespace
m100-crunch: m100-crunch.c

clean:
rm m100-tokenize m100-decomment m100-crunch 2>/dev/null || true
rm m100-tokenize m100-jumps m100-decomment m100-crunch 2>/dev/null || true

0 comments on commit a056d16

Please sign in to comment.