QUOTE: Life is tough, but so are you.

beep

A tiny terminal-based ASCII circuit simulator

Makefile (230B)


      1TARGET=beep
      2SOURCE=src/*.c
      3
      4CC=cc
      5CFLAGS=-Wall -Wextra -Werror -pedantic
      6LIBS=
      7
      8.PHONY: all build run clean
      9
     10all: build
     11
     12build:
     13	$(CC) $(CFLAGS) -o ./$(TARGET) $(SOURCE) $(LIBS)
     14
     15run: build
     16	./$(TARGET)
     17
     18clean:
     19	rm -f ./$(TARGET)