Skip to content

Instantly share code, notes, and snippets.

View mihai-valentin's full-sized avatar
🤟
Focusing

Mihai Valentin mihai-valentin

🤟
Focusing
  • PowerIT
  • Moldova
View GitHub Profile
@mihai-valentin
mihai-valentin / Makefile
Last active June 28, 2024 13:53
A simple Makefile recipe to compile a multi-file c program
.DEFAULT_GOAL := all
.PHONY: all build clean run
SRC_DIR := ./src
DIST_DIR := ./dist
TARGET := main
CFLAGS := -Isrc/include
C_SRC := $(wildcard $(SRC_DIR)/*.c $(SRC_DIR)/**/*.c)
@mihai-valentin
mihai-valentin / deploy.yml
Last active October 18, 2022 16:45
Simple GitHub action for PHP project deployment
name: "Deploy a PHP project"
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest