separated main and lib

This commit is contained in:
2022-05-02 18:08:45 +02:00
parent a6e3182c5d
commit 1b6f92da6b
8 changed files with 336 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
CFLAGS = -g -Wall
fb_dash: fb_dash.c
gcc -o $@ $(CFLAGS) $<
fbdash: fbdash.c fblib
gcc fblib.o -o $@ $(CFLAGS) $<
fblib: fblib.o
gcc -c fblib.c
clean:
rm fb_dash
rm fbdash fblib.o