From e948701d2766be81df0e2c1f7651f15a8785d940 Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 24 Jul 2024 01:19:01 +0300 Subject: [PATCH] fix the makefile --- api/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/Makefile b/api/Makefile index ff72694..8c5137c 100644 --- a/api/Makefile +++ b/api/Makefile @@ -1,10 +1,10 @@ all: server -server: *.go routes/* util/* global/* database/* - go build -o server . +server: *.go routes/*.go util/*.go global/*.go database/*.go + go build -o $@ . test: - FRONTEND_URL=http://localhost:5173/ PASSWORD=test ./server + FRONTEND_URL=http://localhost:5173/ PASSWORD=test ./server format: gofmt -s -w .