16 lines
299 B
Makefile
16 lines
299 B
Makefile
|
COMPILER = gcc
|
||
|
C_FLAGS = -Wall -Wextra
|
||
|
htags.o: htags.c
|
||
|
$(COMPILER) $(C_FLAGS) -c htags.c
|
||
|
|
||
|
htags: htags.o
|
||
|
$(COMPILER) $(C_FLAGS) -o htags htags.c
|
||
|
|
||
|
test.o: test.c
|
||
|
$(COMPILER) $(C_FLAGS) -c test.c
|
||
|
|
||
|
test: test.o
|
||
|
$(COMPILER) $(C_FLAGS) -o test test.o
|
||
|
|
||
|
run: htags
|
||
|
.\htags example.html
|