2023-12-05 00:07:15 -05:00
|
|
|
BASENAME= $(shell basename `pwd`)
|
|
|
|
|
|
|
|
build:
|
2023-12-10 22:22:09 -05:00
|
|
|
@rm ../bin/$(BASENAME) || echo ""
|
|
|
|
@gcc $(BASENAME).c ../libs/* -o ../bin/$(BASENAME)
|
2023-12-05 00:07:15 -05:00
|
|
|
|
|
|
|
run: build
|
2023-12-10 22:22:09 -05:00
|
|
|
@../bin/$(BASENAME) input.txt a
|
|
|
|
@../bin/$(BASENAME) input.txt b
|