Skip to content

Commit

Permalink
Use GNUmakefile for GNU make
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Jan 19, 2024
1 parent ff6900f commit 82a360f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions unix/Makefile.gnu → unix/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ CFLAGS = -Wall -Wextra -O2
LDFLAGS = -lkvm -lutil
OBJS =

CC = gcc

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

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

0 comments on commit 82a360f

Please sign in to comment.