This commit is contained in:
Imbus 2025-11-14 20:59:40 +01:00
parent b5b554bf31
commit 561a344f30
3 changed files with 68 additions and 0 deletions

15
getopt/Makefile Normal file
View file

@ -0,0 +1,15 @@
CC = gcc
CFLAGS = -Wall -O2
all: getopt.elf getopt_long.elf
getopt.elf: getopt.c
@echo CC $@
@$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
getopt_long.elf: getopt_long.c
@echo CC $@
@$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
clean:
rm -f *.elf