Skip to content

Commit

Permalink
add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert committed Nov 22, 2023
1 parent 4973253 commit 4f36310
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
CC = gcc
RM = rm -f
CCFLAGS = -Wall
M = -lm

all: induct

induct:
$(CC) $(CCFLAGS) -o cap cap.c $(M)
$(CC) $(CCFLAGS) -o elcut elcut.c
$(CC) $(CCFLAGS) -o iloc iloc.c $(M)
$(CC) $(CCFLAGS) -o tankfreq tankfreq.c $(M)

clean:
$(RM) cap
$(RM) elcut
$(RM) iloc
$(RM) tankfreq

distclean: clean

0 comments on commit 4f36310

Please sign in to comment.