Fix Makefiles for go, rust, zig

This commit is contained in:
Peter 2023-08-24 09:01:50 +02:00
parent b63448bcb9
commit 788333a4b2
Signed by: pludi
GPG key ID: FB1A00FEE77E2C36
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ OUT = sleeptest
all: $(OUT) all: $(OUT)
$(OUT): $(SRC) $(OUT): $(SRC)
$(GO) -ldflags="-s -w" -o $(OUT) $(SRC) $(GO) build -ldflags "-s -w" -o $(OUT) $(SRC)
clean: clean:
rm -f $(OUT) rm -f $(OUT)

View file

@ -7,7 +7,7 @@ OUT = sleeptest
all: $(OUT) all: $(OUT)
$(OUT): $(SRC) $(OUT): $(SRC)
$(RUSTC) -C symbols -o $(OUT) $(SRC) $(RUSTC) -C strip=symbols -o $(OUT) $(SRC)
clean: clean:
rm -f $(OUT) rm -f $(OUT)

View file

@ -7,7 +7,7 @@ OUT = sleeptest
all: $(OUT) all: $(OUT)
$(OUT): $(SRC) $(OUT): $(SRC)
$(ZIG) -Wall -s -o $(OUT) $(SRC) $(ZIG) cc -Wall -s -o $(OUT) $(SRC)
clean: clean:
rm -f $(OUT) rm -f $(OUT)