Skip to content

Commit

Permalink
Add Makefile for GNU make
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Jan 13, 2024
1 parent 466db38 commit 9d5d099
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions unix/Makefile.gnu
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BIN = restartable
CFLAGS = -Wall -Wextra -O2
LDFLAGS = -lkvm -lutil
OBJS =

CC = gcc

$(BIN): restartable.c $(OBJS)
$(CC) $(CFLAGS) -o $@ -c $< $(OBJS) $(LDFLAGS)

clean:
rm -f $(PROC) $(OBJS)

0 comments on commit 9d5d099

Please sign in to comment.